//
//  RocProgrammingView.h
//  RocRemoteControlProject
//
//  Created by 新致李照鹏 on 2018/12/18.
//  Copyright © 2018年 Roc. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef enum : NSUInteger {
    RocProgrammingViewButtonHome,
    RocProgrammingViewButtonSwitch,
    RocProgrammingViewButtonGO,
    RocProgrammingViewButtonDance,
    RocProgrammingViewButtonRepeat,
    RocProgrammingViewButtonBack,
    RocProgrammingViewButtonClear,
    RocProgrammingViewButtonUp,
    RocProgrammingViewButtonDown,
    RocProgrammingViewButtonLeft,
    RocProgrammingViewButtonRight,
} RocProgrammingViewButtonType;

@class RocProgrammingView;
@protocol RocProgrammingViewDelegate <NSObject>

- (void)RocProgrammingView:(RocProgrammingView *)view ClickButton:(RocProgrammingViewButtonType)type;

@end

@interface RocProgrammingView : UIView

@property (nonatomic, weak) id<RocProgrammingViewDelegate>mydelegate;

@end

NS_ASSUME_NONNULL_END
